<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE HTML>
<html>
<head>
<%@ include file="/commonjsp/baseUtil.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后街、后街交友、同城交友、交友-LF信息</title>
<script src="${pageContext.request.contextPath}/js/jquery-1.7.2.js"></script>
<script
	src="${pageContext.request.contextPath}/js_customer/sinfo/publishSinfo.js"></script>
<script type="text/javascript" charset="utf-8"
	src="${pageContext.request.contextPath}/js_ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8"
	src="${pageContext.request.contextPath}/js_ueditor/ueditor.all.js"></script>
<script type="text/javascript" charset="utf-8"
	src="${pageContext.request.contextPath}/js_ueditor/lang/zh-cn/zh-cn.js"></script>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/customer/ucenter.css">
<meta name="keywords" content="后街、后街交友、同城交友、交友、交友平台">
<meta name="description"
	content="寻找志同道合的朋友；交友、聊天、游戏、泡吧，让您在忙碌的工作之余,找到志同道合的朋友,享受快乐人生.">
<meta name="robots" content="index, follow">
<meta name="googlebot" content="index, follow">
<script type="text/javascript">
	function showLink() {
		$(this).find('.ucenter-pic a').css('display', 'block');
	}
</script>

</head>
<body>
	<!--头部 s-->
	<c:import url="../common/newHeader.jsp"></c:import>
	<script type="text/javascript" charset="utf-8">
		window.UEDITOR_HOME_URL = ROOTPATH + "/js_ueditor/";
	</script>
	<!--头部 e-->
	<div class="w980 sinfo_test_center" style="height: 20px;">
		<a href="${pageContext.request.contextPath}/" class="sinfo_homepage"
			title="首页"></a> <em>&nbsp;&nbsp;&gt;&nbsp;&nbsp;</em> <a href="/"
			title="上海"><b>后街</b></a> <em>&nbsp;&nbsp;&gt;&nbsp;&nbsp;</em> <a
			href="#" title="上海"><b>上海</b></a> <em>&nbsp;&nbsp;&gt;&nbsp;&nbsp;</em>
		【娱乐信息发布】
	</div>
	<div class="w980 sinfo_test_center"">
		<form action="${pageContext.request.contextPath}/sinfo/addSInfo.aspx"
			id="publishSinfoForm" method="post">
			<input type="hidden" id="sifno_images" name="images">
			<table style="border: 1px solid #d4d4d4; margin-top: 10px;">
				<tr>
					<td width="100px">信息类型：</td>
					<td><select name="type" id="sinfoPublishType">
							<option value="0">请选择</option>
							<%-- <c:choose>
								<c:when test="${'longfeng' eq type}">
									<option value="longfeng" selected="selected">楼凤</option>
								</c:when>
								<c:otherwise>
									<option value="longfeng">楼凤</option>
								</c:otherwise>
							</c:choose> --%>
							<c:choose>
								<c:when test="${'sangna' eq type}">
									<option value="sangna" selected="selected">桑拿会所</option>
								</c:when>
								<c:otherwise>
									<option value="sangna">桑拿会所</option>
								</c:otherwise>
							</c:choose>
							<c:choose>
								<c:when test="${'kuaican' eq type}">
									<option value="kuaican" selected="selected">洗头按摩</option>
								</c:when>
								<c:otherwise>
									<option value="kuaican">洗头按摩</option>
								</c:otherwise>
							</c:choose>
							<c:choose>
								<c:when test="${'xiyu' eq type}">
									<option value="xiyu" selected="selected">足疗洗浴</option>
								</c:when>
								<c:otherwise>
									<option value="xiyu">足疗洗浴</option>
								</c:otherwise>
							</c:choose>
							<c:choose>
								<c:when test="${'jzmote' eq type}">
									<option value="jzmote" selected="selected">兼职模特</option>
								</c:when>
								<c:otherwise>
									<option value="jzmote">兼职模特</option>
								</c:otherwise>
							</c:choose>
							<c:choose>
								<c:when test="${'jzxuemei' eq type}">
									<option value="jzxuemei" selected="selected">兼职学妹</option>
								</c:when>
								<c:otherwise>
									<option value="jzxuemei">兼职学妹</option>
								</c:otherwise>
							</c:choose>
							<c:choose>
								<c:when test="${'others' eq type}">
									<option value="others" selected="selected">其他</option>
								</c:when>
								<c:otherwise>
									<option value="others">其他</option>
								</c:otherwise>
							</c:choose>
					</select> <span style="color: red; font-weight: 100px;">(*)</span></td>
				</tr>
				<tr>
					<td>标题：</td>
					<td><input size="40" type="text" name="title" value="${title==null?'':title}"
						id="sinfoPublishTitle"
						class="text ui-widget-content ui-corner-all" style="margin-left: 2px;" /><span
						style="color: red;">(*)</span></td>
				</tr>
				<tr>
					<td>手机：</td>
					<td><input type="text" name="phone" id="sinfoPublishPhone" value="${phone==null?'':phone}"
						class="text ui-widget-content ui-corner-all" style="margin-left: 2px;"/><span
						style="color: red;">(*)</span></td>
				</tr>
				<tr>
					<td>QQ：</td>
					<td><input type="text" name="qq" id="sinfoPublishQQ" value="${qq==null?'':qq}"
						class="text ui-widget-content ui-corner-all" style="margin-left: 2px;"/><span
						style="color: red;">(*)</span></td>
				</tr>
				<tr>
					<td>邮箱：</td>
					<td><input type="text" name="email" id="sinfoPublishEmail" value="${email==null?'':email}"
						class="text ui-widget-content ui-corner-all" style="margin-left: 2px;"/></td>
				</tr>
				<!-- <tr>
					<td>城市选择：</td>
					<td><div id="sinfoPublishCitys"></div> <input type="hidden"
						id="sinfoPublishCity" /></td>
				</tr> -->
				<tr>
					<td>城区选择：</td>
					<td><select name="areaId" id="sinfoPublishArea">
							<option value="0">请选择</option>
							<c:if test="${areas!=null && areas.size()>0}">
								<c:forEach items="${areas}" var="area">
									<c:choose>
										<c:when test="${area.id eq areaId}">
											<option value="${area.id}" selected="selected"><c:out value="${area.name}"></c:out></option>
										</c:when>
										<c:otherwise>
											<option value="${area.id}"><c:out value="${area.name}"></c:out></option>
										</c:otherwise>
									</c:choose>
									
								</c:forEach>
							</c:if>
					</select> <span style="color: red;">*</span></td>
				</tr>
				<tr>
					<td colspan="2">信息描述：</td>
					<!-- <textarea rows="10" cols="50" id="sinfoPublishDesc"></textarea> -->
				</tr>
				<tr>
					<td colspan="2" id="editor_td">
						<script id="editor" type="text/plain" name="desc" style="height: 300px;">
								
								<c:out value="${desc==null?'':desc}"></c:out>
						</script>
						<script type="text/javascript">
							$(function(){
								$("#editor").html('<%=request.getParameter("desc")==null?"":request.getParameter("desc")%>');
							});
						</script>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="padding-left: 5px;">验证码:<span
						id="validationArea"><img alt="验证码"
							src="${pageContext.request.contextPath}/validateCode.aspx"
							style="width: 60px; height: 20px; vertical-align: middle;"></span>
						看不清,<a href="javascript:void(0)" onclick="reloadValidateCode();"><b>换一张</b></a>
					</td>
				</tr>
				<tr>
					<td colspan="2" style="padding-left: 5px;">请输入验证码:<input
						type="text" name="validationCode"
						class="text ui-widget-content ui-corner-all" />
					</td>
				</tr>
				<tr>
					<td colspan="2"><a id="btnConfirm"
						style="background-color: #6BB5A7; color: #FFFFFF; float: left; font: 16px/32px '微软雅黑', '黑体'; height: 32px; margin-left: -2px; position: relative; text-align: center; width: 68px; margin: 2px auto 2px 5px; text-decoration: none;"
						href="javascript:void(0)">提交</a></td>
				</tr>
			</table>
		</form>
		<script type="text/javascript">
			function reloadValidateCode() {
				$("#validationArea").html("");
				$("#validationArea")
						.html(
								'<img alt="验证码" src="'
										+ ROOTPATH
										+ '/validateCode.aspx?a='
										+ UUID.prototype.createUUID()
										+ '" style="width: 60px;height: 20px; vertical-align:middle;">');
			}
			
			var editor2 = new baidu.editor.ui.Editor(window.UEDITOR_CONFIG2);
			editor2.render("editor");
			//UE.getEditor('editor');
		</script>
		<!-- <form id="form1" action="index.php" method="post"
			enctype="multipart/form-data">
			<div class="fieldset flash" id="fsUploadProgress">
				<span class="legend">上传队列</span>
			</div>
			<div id="divStatus">已上传0个文件</div>
			<div style="padding-top: 2px;">
				<table>
					<tr>
						<td><span id="spanButtonPlaceHolder"></span></td>
						<td><input id="btnCancel" type="button" value="取消所有已上传"
							onclick="swfu.cancelQueue();" disabled="disabled"
							style="margin-left: 2px; margin-top: 0px; font-size: 16; height: 32px;" />
						</td>
					</tr>
				</table>
			</div>
		</form>
		<div id="uploadImages"></div> -->
	</div>
	<!--footer s-->
	<c:import url="../common/newFooter.jsp"></c:import>
	<!--footer e-->

</body>
</html>